//
//  CourseWebView.h
//  MicroClass
//
//  Created by lxl on 2018/7/26.
//  Copyright © 2018年 lxl. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height
#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width
typedef void (^ChangeTheHeaderViewHeight)(CGFloat height);

@interface CourseWebView : UIView<WKNavigationDelegate>{
    
    BOOL isFinished;
}
@property (strong, nonatomic) UIView * lineView;
@property (strong, nonatomic) UILabel * commentLab;

@property (strong, nonatomic) WKWebView * webview;
@property (strong, nonatomic) UIProgressView *progressView;
//@property(strong, nonatomic)UIScrollView *contentScrollView;


//@property (assign, nonatomic) CGFloat HeaderHeight ;
@property (strong, nonatomic) NSString           *str_desc;
@property (copy, nonatomic) ChangeTheHeaderViewHeight   changeHeaderViewHeight;
- (void)addTheCourseWebView:(NSString *)str_desc;
//- (void)addTheCourseWebViewObserver;
//- (void)addTheHeaderView;
- (void)removeWebViewObserver;
@end
